using System.Data.Entity.ModelConfiguration;
using ExampleWebApplication.Entities;

namespace ExampleWebApplication.Infraestruture.EntityFramework.EntityTypeConfigurations
{
    public class CustomerConfiguration : EntityTypeConfiguration<Customer>
    {
        public CustomerConfiguration()
        {
            Ignore(customer => customer.Bool);
            Property(customer => customer.EfBool).HasColumnName("Bool");//.HasColumnType("bit");
        }
    }
}